export default {
	namespaced: true,
	state: {
		isEnd: false,
		id: null
	},
	getters: {
		GET_STATE:state => {
			return state
		}
	},
	mutations: {
		SET_STATE(state, e) {
			if (typeof e.key == 'string') state[e.key] = e.value
			else {
				for (let i = 0; i < e.key.length; i++) {
					state[e.key[i]] = typeof e.value == 'string' ? e.value : e.value[i]
				}
			}
		}
	},
	actions: {
		
	}
}